<?php

include '../../../configuration.php';

$faculty = $_POST['sel_faculty'];
$group = $_POST['group'];

mysql_query("INSERT INTO `groups` ( group_id, group_name, faculty_id) VALUES (null, '$group', $faculty)");

header('Location: add_new_group.php');

?>